<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="FusionCharts.js">    </script>
</head>
<body>
	<div id="chartContainer">FusionCharts will load here!</div>
	<script type="text/javascript">
		 var myChart = new FusionCharts( "Pie3D.swf", "myChartId", "400", "300", "0", "1" ); 
		 myChart.setJSONData({
			    "chart": {
			        "caption": "事件分级统计",
			        "palette": "2",
			        "animation": "1",
			        "formatnumberscale": "0",
			        "showvalues": "0",
			        "showpercentintooltip": "0",
			        "showLegend":"1"
			    },
			    "data": [
			        {
			            "label": "严重", 
			            "color": "ff0000" ,
			            "value": "100524",
			            "issliced": "0"
			        },
			        {
			            "label": "重要",
			            "color": "ffff00",
 			            "value": "87790",
			            "issliced": "0"
			        },
			        {
			            "label": "故障",
			              "color": "00ffff",
			            "value": "81898",
			            "issliced": "0"
			        },
			        {
			            "label": "轻微",
			              "color": "0000ff",
			            "value": "76438",
			            "issliced": "0"
			        }
			    ],
			    "styles": {
			        "definition": [
			            {
			                "type": "font",
			                "name": "CaptionFont",
			                "size": "15",
			                "color": "666666"
			            },
			            {
			                "type": "font",
			                "name": "SubCaptionFont",
			                "bold": "0"
			            }
			        ],
			        "application": [
			            {
			                "toobject": "caption",
			                "styles": "CaptionFont"
			            },
			            {
			                "toobject": "SubCaption",
			                "styles": "SubCaptionFont"
			            }
			        ]
			    }
			});      
		 myChart.render("chartContainer");    
	</script> 
</body>
</html>